<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\facade\Route;

Route::get('chat/:token', 'index/Index/index');
Route::rule('login', 'index/Index/login',"get|post");
Route::rule('register', 'index/Index/register',"get|post");
Route::get('getFriends', 'index/Index/getFriends');
Route::post('upload','index/Index/upload');//上传图片
Route::get('chatlog','index/Index/chatlog');
Route::post('updateSign','index/Index/updateSign');//更新签名
Route::post('updateOnline','index/Index/updateOnline');//更新在线状态


